const TokenKey = 'MiniLogin-Token'
const UserInfoKey='userinfo-Token'
export function getToken() {
  return uni.getStorageSync(TokenKey)
}

export function setToken(token) {
  return uni.setStorageSync(TokenKey, token)
}

export function removeToken(key) {
  return uni.removeStorageSync(key)
}

export function setUserInfoToken(token) {
  return uni.setStorageSync(UserInfoKey, token)
}

export function getUserInfoToken() {
  return uni.getStorageSync(UserInfoKey)
}